package com.pet.shop.mappers.user;

import com.github.pagehelper.Page;
import com.pet.shop.dto.PageDto;
import com.pet.shop.entity.user.UserInfo;

public interface UserInfoMapper {

    int delete(Long id);

    int insert(UserInfo record);

    UserInfo get(Long id);

    int update(UserInfo record);

    Page<UserInfo> queryPage(PageDto<UserInfo> page);

    UserInfo queryByOpenid(String openid);
}